<div align = "center">
	<form name = "frm_addkhachhang" method = "post" action = "">
	<table width = "795" cellpadding = "2" cellspacing = "2" border = "0" align = "center" bgcolor = "#D4D0C8">
	<tr>
		<th colspan = "2"  class = "list">THÊM CHI TIẾT HÓA ĐƠN </th>
	</tr>
	<tr>
		<td valign = "top" align = "right">Mặt hàng</td>
		<td valign = "top" align = "left">
			<select name = "cmb_MatHang">
			<?php if(is_array($data['listmh'])){
					foreach ($data['listmh'] as $item){?>
							<option value="<?php echo $item['MaMH'];?>">
								<?php echo $item['TenMH'];?>
							</option>
				<?php } 
			
					} ?>
		</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "right">Người Lập</td>
		<td valign = "top" align = "left"> 
				<select name = "cmb_HoaDon">
			<?php if(is_array($data['listhd'])){
					foreach ($data['listhd'] as $item){?>
							<option value="<?php echo $item['MaHD'];?>">
								<?php echo $item['NguoiLap'];?>
							</option>
				<?php } 
			
					} ?>
		</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "right">Ngày Lập</td>
		<td valign = "top" align = "left"> 
			<select name = "cmb_HoaDon">
			<?php if(is_array($data['listhd'])){
					foreach ($data['listhd'] as $item){?>
							<option value="<?php echo $item['MaHD'];?>">
								<?php echo $item['NgayLap'];?>
							</option>
				<?php } 
			
					} ?>
		</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "right">Số Lượng</td>
		<td valign = "top" align = "left"> 
				<input name = "SoLuong" type = "text" value = ""/>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "right">Đơn Giá</td>
		<td valign = "top" align = "left"> 
				<input name = "DonGia" type = "text" value = ""/>
		</td>
	</tr>
	<tr>
		<td valign = "top" colspan = "2"> <input name = "bt_ok" type = "submit" value = "Thêm Mới"/>   <input name = "bt_reset" type = "reset" value = "Lam Lai"/> </td>
	</tr>
	 </table>
</form>
</div>

